package com.group.eams.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.group.eams.pojo.dto.CopyrightQueryDto;
import com.group.eams.pojo.entity.Copyright;
import com.group.eams.pojo.vo.CopyrightBasicVo;
import com.group.eams.pojo.vo.CopyrightListVo;
import org.apache.ibatis.annotations.Param;

/**
* @author 恩哲欣
* @description 针对表【copyright(无形资产(著作权登记表))】的数据库操作Mapper
* @createDate 2024-10-29 16:09:34
* @Entity com.group.eams.pojo.entity.Copyright
*/
public interface CopyrightMapper extends BaseMapper<Copyright> {


    /**
     * 根据查询条件查询
     * @param page
     * @param copyrightQueryDto
     * @return
     */
    Page<CopyrightListVo> findByQueryDto(Page<CopyrightListVo> page, @Param("copyrightQueryDto") CopyrightQueryDto copyrightQueryDto);

    /**
     * 根据id查询基础数据
     * @param id
     * @return
     */
    CopyrightBasicVo findBasicById(Long id);
}
